package com.symone.webcms.mapper;

import com.symone.webcms.model.DataContent;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.symone.webcms.model.vo.DataContentVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;

/**
 *   @description : Content Mapper 接口
 *   ---------------------------------
 * 	 @author Archer Chu
 *   @since 2019-03-24
 */
@Repository
public interface DataContentMapper extends BaseMapper<DataContent> {

        boolean deleteFlagById(long id);

        List<DataContentVO> selectConditionPage(Page<DataContentVO> page, @Param("lang")String lang, @Param("module")String module, @Param("groupId")Long groupId, @Param("key")String key, @Param("val")String val);
}